#pragma once

//mprpc框架的基础类（初始化类），负责框架的一些初始化操作
#include "mprpcconfig.h"

class MprpcApplication
{
    //单列模式构建

public:
    static void Init(int argc, char **argv);

    static MprpcApplication &GetInstance();

    static MprpcConfig& GetConfig();

private:
    static MprpcConfig m_config;
    MprpcApplication() {}
    MprpcApplication(const MprpcApplication &) = delete;
    MprpcApplication(MprpcApplication &&) = delete;
};
